package org.graduation.ical.service;

import net.fortuna.ical4j.model.Calendar;
import org.graduation.model.common.user.User;
import org.graduation.model.vo.CalendarVO;

import java.util.List;

public interface ICSService {
    /**
     * 生成user的日历
     * @param user
     * @return
     */
    Calendar generatorCalendar(User user);
    Calendar generatorCalendar(String auth);
    /**
     * 获取用户日历，供前端展示。
     * @param user
     * @return
     */
    List<CalendarVO> getCalendarList(User user);
}
